function onDeviceReady() {
  window.uicontrols.createTabBar();
  window.uicontrols.createTabBarItem(
    "btn1",
    "My button",
    "icon.png",
    { onSelect: function() { callback('my') } }
  );
  window.uicontrols.createTabBarItem(
    "btn2",
    "My Favourite",
    "tabButton:Favorites"
 );
  window.uicontrols.showTabBar();
  window.uicontrols.showTabBarItems("btn1", "btn2");
}